
#ifndef __LENGTHUNIT_H__
#define __LENGTHUNIT_H__

#include <string>
#include <sstream>
#include <Unit.h>

using namespace std;

class LengthUnit: public Unit
{
public:
	LengthUnit(int factorToBase, string name);
	string formate(const int value) const;
	static LengthUnit& getBaseUnit();
	static LengthUnit& getInchUnit();
	static LengthUnit& getYardUnit();
	static LengthUnit& getMileUnit();
	static LengthUnit& getFeetUnit();
private:
	
private:
	const string name_m;
};
static const LengthUnit& INCH = LengthUnit::getInchUnit();
static const LengthUnit& FEET = LengthUnit::getFeetUnit();
static const LengthUnit& YARD = LengthUnit::getYardUnit();
static const LengthUnit& MILE = LengthUnit::getMileUnit();


#endif


